import React from 'react'
import NavLink from './NavLink'

class App extends React.Component {
    render() {
        return <div>
            <ul role="nav">
                <li><NavLink to="/helloworld">Hello World</NavLink></li>
                <li><NavLink to="/gallery">Gallery</NavLink></li>
            </ul>
            {this.props.children}
    </div>
    }
}

export default App